<template>
	<view class="">
		<view class="example">
			<uni-forms ref="form" :modelValue="formData" :rules="rules" label-width="200rpx" label-position="rigth">
				<view class="" style="padding: 30rpx;">
					<uni-forms-item label="银行名称" name="bank">
						<uni-easyinput type="text" v-model="formData.bank" placeholder="请输入银行名称" />
					</uni-forms-item>
					<uni-forms-item label="收款人" name="name">
						<uni-easyinput type="text" v-model="formData.name" placeholder="请输入姓名" />
					</uni-forms-item>
					
					<uni-forms-item label="收款账号" name="number">
						<uni-easyinput v-model="formData.number" placeholder="请输入收款账号" />
					</uni-forms-item>
					
				</view>
			</uni-forms>

		</view>
		<view class="" style="position: fixed; bottom: 0rpx;background-color: white;padding-bottom: 10rpx;">
			<view class=""
				style="  display: flex;font-size: 24rpx;justify-content: center;width: 750rpx;align-items: center;">
				<uni-data-checkbox v-model="defaultAgree" :multiple="true" :localdata="agreeArray" class="checkBox"
					selectedColor="#0ABA94"></uni-data-checkbox>
				<text style="margin-left: -40rpx;">我已阅读并同意</text>
				<text style="color: #0ABA94; ">平台协议</text>
			</view>
			<view class="" style="margin-top: 10rpx; display: flex; justify-content: center;width: 750rpx;">
				<button class="button" @click="submit">提交</button>
				<button class="button" v-if="formData.id" style="background-color: red;width: 180rpx;"
					@click="delArchives">删除</button>
			</view>

		</view>
	</view>


</template>

<script>
	export default {
		data() {
			return {
				formData:{},
				defaultAgree: false,
				agreeArray: [{
					"value": 0,
					"text": " "
				}, ],
				
			}
		},
		methods: {

		}
	}
</script>

<style>
	page {
		background: #F1F4FC;
	}


	.example {
		/* width: 100%; */
		/* padding: 30rpx; */
		background-color: #fff;
	}


	.button {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 680rpx;
		/* margin: 56upx auto; */
		background-color: #0ABA94;
		color: #FFFFFF;
		font-size: 32upx;
		border-radius: 40rpx;
		height: 80rpx;
	}
</style>